﻿using WebApplication1.Presenters.Client;

namespace WebApplication1.Client
{
    public partial class List : PageView<ListPresenter>
    {
        protected override ListPresenter CreatePresenter()
        {
            return new ListPresenter();
        }

        protected override void OnLoad(System.EventArgs e)
        {
            base.OnLoad(e);
            ctlList.DataSource = Presenter.Items;
            ctlList.DataBind();
        }
    }
}